• Image placeholder
  • 홈 페이지
  • 블로그 센터
  • 범주
Image placeholder

named query

Spring Data JPA, Named Query

Named Query란? 네임드 쿼리란 말 그대로 이름을 붙여놓은 쿼리를 말한다. 사전에 쿼리에 이름을 붙여놓고 사용 할 때, 쿼리의 이름을 사용하여 메서드를 구현하는 기능이다. 예를 들어 아래와 같은 'Member' 엔티티가 있을 때 'username'으로 Member를 찾는 쿼리를 만든다고 해보자. Entity 아래와 같은 Entity가 있다고 가정하고 사용법을 알아보자. Named Qu...

spring-data-jpaSpringnamed querySpring

© 2022 intrepidgeeks.com

Privacy Policy Contact US Sitemap
🍪 This website uses cookies to ensure you get the best experience on our website. Learn more